package com.weblog.home.client.impl;

import com.weblog.home.client.ArticleSearchClient;
import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2019/9/2215:41
 */
@Component
public class ArticleSearchClientImpl implements ArticleSearchClient {


    @Override
    public Result fetchTotalByCategory(int level, List<String> cnamesList) {
        return new Result(false, StatusCode.ERROR,"搜索客户端fetchTotalByCategory出错");
    }

    @Override
    public Result getSum() {
        return new Result(false, StatusCode.ERROR,"搜索客户端getSum出错");

    }

    @Override
    public Result fetchHotArticle() {
        return new Result(false, StatusCode.ERROR,"搜索客户端fetchHotArticle出错");
    }
}
